import { Service } from "egg";

export default class NewsService extends Service {
    public async list(page:number){
        return page;
    }
}

export interface NewsItem {
    id:number,
    title:string,
}